package com.atguigu.gmall.model.product;

import com.atguigu.gmall.model.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("tbl_person")
public class TblPerson extends BaseEntity {

    @TableField("name")
    private String name;

    @TableField("gender")
    private String gender;

    @TableField(exist = false)
    private List<TblPerson> childrens;
}
